﻿#pragma once
#include "Resource.h"
#include "ControlPoint.h"

// ControlPointDlg 对话框

class ControlPointDlg : public CDialogEx
{
	DECLARE_DYNAMIC(ControlPointDlg)

public:
	ControlPointDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~ControlPointDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_GCP };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	ControlPoint* m_pPointController;
	virtual BOOL OnInitDialog();
	CListCtrl m_PointList;
	afx_msg void OnBnClickedButtonAddpoint();
	afx_msg void OnBnClickedButtonDeletepoint();
	int iItemNum;
	void DisplayPoint();
	afx_msg void OnItemchangedListPoint(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnBnClickedButtonPredict();
	CComboBox m_Combo;
	int nIndex;
	afx_msg void OnSelchangeComboDegree();
	afx_msg void OnCpfileout();
	CMenu m_Menu;
	afx_msg void OnInputconpoint();
	afx_msg void OnOutputconpoint();
	afx_msg void OnAddconpoint();
};
